package com.group02.community.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group02.community.entity.log.SysOperLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 操作日志记录 Mapper 接口
 * </p>
 *
 * @author xl
 * @since 2022-07-01
 */
@Mapper
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {


    IPage<SysOperLog> operLogPage(Page<SysOperLog> sysOperLogPage, @Param("sysOperLog") SysOperLog sysOperLog);

    void insertOperlog(SysOperLog operLog);

    void emptyDatabase();

    void loginLogDelete(Long[] id);
}
